package com.demo.swingquickticket.entity;

import lombok.Data;
import lombok.ToString;

import java.util.List;
import java.util.UUID;

@Data
@ToString
public class Order {

    public static final int START = 1;

    public static final int STOP = 2;

    private String mark = UUID.randomUUID().toString();

    //1.工作，2.暂停
    private int workStatus = Order.START;

    //购票用户
    private User user;

    //出发日期
    private String date;

    private String from;

    private String to;

    //买什么车次
    private List<String> stationTrainCode;

    //买什么座位类型
    private List<String> seatType;

}
